package com.eascs.web.o2o.report.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the wf_email database table.
 * 
 */
@Entity
@Table(name="wf_email")
@NamedQuery(name="WfEmail.findAll", query="SELECT w FROM WfEmail w")
public class WfEmail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="email_id")
	private String emailId;

	private String appendix;

	private String cc;

	private String content;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	private String recipients;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="send_time")
	private Date sendTime;

	private String sender;

	private byte status;

	private String title;
	
	/**
	 * 请求流水号（唯一）
	 */
    @Column(name = "request_id")
	private String requestId;
	/**
	 * 请求时间戳
	 */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "request_date")
	private Date requestDateTime;
	/**
	 * 业务编码
	 */
    @Column(name = "biz_code")
	private String bizCode;
	/**
	 * 系统编号，每个调用的系统分配一个唯一的编号
	 */
    @Column(name = "system_code")
	private String systemCode;
	/**
	 * 自定义发送分类编码，方便每个系统自定义分类
	 */
    @Column(name = "custom_type_code")
	private String customTypeCode;
	/**
	 * 发送类型，参照com.eascs.notify.mail.MailSendType
	 */
    @Column(name = "mail_send_type")
	private String mailSendType;
	/**
	 * 定时发送时间戳
	 */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "schedule_send_date")
	private java.sql.Timestamp scheduleSendDateTime;
	/**
	 * 暗抄邮件，可以是多个邮件，用逗号分割
	 */
    @Column(name = "bcc")
	private String recipientBcc;


	public WfEmail() {
	}

	public String getEmailId() {
		return this.emailId;
	}

	public void setEmailId(String emailId) {
		this.emailId = emailId;
	}

	public String getAppendix() {
		return this.appendix;
	}

	public void setAppendix(String appendix) {
		this.appendix = appendix;
	}

	public String getCc() {
		return this.cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRecipients() {
		return this.recipients;
	}

	public void setRecipients(String recipients) {
		this.recipients = recipients;
	}

	public Date getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getSender() {
		return this.sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public byte getStatus() {
		return this.status;
	}

	public void setStatus(byte status) {
		this.status = status;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getRequestId() {
		return requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public Date getRequestDateTime() {
		return requestDateTime;
	}

	public void setRequestDateTime(Date requestDateTime) {
		this.requestDateTime = requestDateTime;
	}

	public String getBizCode() {
		return bizCode;
	}

	public void setBizCode(String bizCode) {
		this.bizCode = bizCode;
	}

	public String getSystemCode() {
		return systemCode;
	}

	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}

	public String getCustomTypeCode() {
		return customTypeCode;
	}

	public void setCustomTypeCode(String customTypeCode) {
		this.customTypeCode = customTypeCode;
	}

	public String getMailSendType() {
		return mailSendType;
	}

	public void setMailSendType(String mailSendType) {
		this.mailSendType = mailSendType;
	}

	public java.sql.Timestamp getScheduleSendDateTime() {
		return scheduleSendDateTime;
	}

	public void setScheduleSendDateTime(java.sql.Timestamp scheduleSendDateTime) {
		this.scheduleSendDateTime = scheduleSendDateTime;
	}

	public String getRecipientBcc() {
		return recipientBcc;
	}

	public void setRecipientBcc(String recipientBcc) {
		this.recipientBcc = recipientBcc;
	}

	
	
	
}